package com.zhixun.zhlq.dao;

import com.zhixun.zhlq.entity.SysUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @ClassName: SysUserMapper
 * @Author: hz
 * @Date: 2020-09-11 11:41:01
 * @Description:
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserEntity> {

    List<SysUserEntity> findBy(Map<String, Object> params);

    SysUserEntity findByUsername(String username);

    SysUserEntity getByCode(String code);

    SysUserEntity getByOpenId(String openId);
}
